<div class="navpull"><!--navpull start-->
    <div class="container">
    	<div class="row">
        <div class="col-xs-5 navon">{{$Category['Category']['name']}}</div>
        <div class="col-xs-7">
        	{{if $current_cate_level > 1}}
        		{{$this->Section->getLeftMenu('Category',array(
	        		'parent_id'=> $top_category_id,
	        		'maxdepth' => 1,
	        		'ulAttributes'=>array('class'=>'navunder'),
	        		'selectedid'=>$current_cateid))}}
        	{{else}}
        		{{$this->Section->getLeftMenu('Category',array(
	        		'parent_id'=> $current_cateid,
	        		'maxdepth' => 1,
	        		'ulAttributes'=>array('class'=>'navunder'),
	        		'selectedid'=>$current_cateid))}}
        	{{/if}}        	
        </div>
        </div>
    </div>
  </div><!--navpull end-->
<div class="main"><!--main start-->
    <div class="container">      
      <section>
      <div class="row">
        <div class="col-xs-9">
          <div class="newswrapp"><!--news start-->
				<div class="Content-body">{{$Category['Category']['content']}} </div>

{{if  $current_cate_level==1}}
	<portlet portlet="body" list_tpl="inner" cache="yes" model="Category" recursive="0" info="limit=12&conditions[parent_id]=$current_cateid&order=left asc">
		<hr>
		<div id="{{$item['slug']}}">
		{{$item['content']}}
		</div>
	</portlet>
{{/if}}

<?PHP if($total>0){ ?>
<ul class="clearfix ui-portlet-list">
    <?PHP foreach($Category['datalist'] as $item) {
		$item['slug'] = $item['slug']?$item['slug']:$item['id'];
    ?>	
		{{include $Category['Category']['template']}}			
	<?php } ?>
</ul>
	{{$page_navi}}
<?php } ?>
          </div><!--news end-->
        </div>
        <div class="col-xs-3"><!--col-xs-3 start-->
          {{template Elements/sidebar}}
        </div><!--col-xs-3 end-->
        </div>
      </section>
    </div>
  </div><!--main end-->
